#include<stdio.h>
int main()
{
	int i;
	float x;
	x=3.8;
	i=(int)x;								
	printf("x=%f,i=%d\n",x,i);				
	printf("(double)(int)x=%f\n",(double)(int)x);
	printf("x mod 3=%d\n",(int)x%3);
	return 0;
}
